package com.acme.bankapp.domain;

/**
 * Distinguishes men from women.
 */
public enum Gender {
	MALE("Mr."), FEMALE("Ms.");
	  
	private String stringRepresentation;
	 
	private Gender(String stringRepresentation) {
		this.stringRepresentation = stringRepresentation;
	}
  
	/**
	 * @return "Mr." for Males, "Ms." for Females. 
	 */
	@Override
	public String toString() {
		return stringRepresentation;
	}
	  
}
